package com.grm.exception;

import lombok.Data;

/**
 * 业务异常
 *
 * @author gaorimao
 * @date 2022/02/07
 */
@Data
public class BusinessException extends RuntimeException{
    private int code;
    private String message;

    public BusinessException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
